package com.yeyks.common.appcommon.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import java.io.Serializable;

/**
 * @author Administrator
 */
@ApiModel(description = "登录输入参数")
@Data
public class AppLoginParam implements Serializable {

    private static final long serialVersionUID = 1913763220327367803L;

    @ApiModelProperty(value = "用户名")
    @NotBlank(message="用户名不能为空")
    private String username;

    @ApiModelProperty(value = "密码需要加密, 客户端加密")
    @NotBlank(message="密码不能为空")
    private String password;
}
